package com.slipper.system.sequence.dao;

import com.slipper.system.api.sequence.bo.SequenceBO;

import java.util.List;

/**
 * 
 * 
 * @date 2022-01-08 14:55:29
 */
public interface SequenceDao {
    
    int insert(SequenceBO bo);
    
    int update(SequenceBO bo);
    
    int delete(SequenceBO bo);

    SequenceBO queryBy(String id);
    
    List<SequenceBO> queryList(SequenceBO bo);

    SequenceBO lockByFlagId(String flagId);

    SequenceBO lockById(String id);
}
